<html>
<head><meta charset="utf-8"><title>What happened to my StorageLive · general · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/index.html">general</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/What.20happened.20to.20my.20StorageLive.html">What happened to my StorageLive</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="237701379"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/What%20happened%20to%20my%20StorageLive/near/237701379" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/What.20happened.20to.20my.20StorageLive.html#237701379">(May 06 2021 at 17:55)</a>:</h4>
<p>Not super important, but the playground's CI tests that MIR output works by looking for <code>StorageLive</code> markers. Those disappeared in 1.52 for hello world. Is this a concern for anyone (I assume not)? Is there anything more stable that I should be looking for that indicates that I am indeed looking at MIR (beyond the warning text at the top)?</p>



<a name="237701662"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/What%20happened%20to%20my%20StorageLive/near/237701662" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/What.20happened.20to.20my.20StorageLive.html#237701662">(May 06 2021 at 17:56)</a>:</h4>
<p><code>StorageLive</code> and <code>StorageDead</code> are now removed after borrowck when optimizations are disabled. They weren't codegened previously anyway when optimizations are disabled as LLVM doesn't collapse stack slots without optimizations enabled and thus would only slowdown compilation. Removing them before codegen improves compilation speed a bit.</p>



<a name="237701749"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/What%20happened%20to%20my%20StorageLive/near/237701749" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/What.20happened.20to.20my.20StorageLive.html#237701749">(May 06 2021 at 17:57)</a>:</h4>
<p><a href="https://github.com/rust-lang/rust/pull/78360">https://github.com/rust-lang/rust/pull/78360</a></p>



<a name="237701908"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/What%20happened%20to%20my%20StorageLive/near/237701908" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/What.20happened.20to.20my.20StorageLive.html#237701908">(May 06 2021 at 17:58)</a>:</h4>
<p>I think I'll grep for <code>bb0:</code> instead for now; unlikely that would magically appear in another way.</p>



<a name="237701951"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/What%20happened%20to%20my%20StorageLive/near/237701951" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lqd <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/What.20happened.20to.20my.20StorageLive.html#237701951">(May 06 2021 at 17:59)</a>:</h4>
<p>or maybe "// return place in scope 0" ?</p>



<a name="237702356"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/What%20happened%20to%20my%20StorageLive/near/237702356" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lqd <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/What.20happened.20to.20my.20StorageLive.html#237702356">(May 06 2021 at 18:01)</a>:</h4>
<p>although that could appear in other ways so maybe not</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>